EntityHas
method in Coherence.Test.AssertThat
Methods
public AssertThat EntityHas<T>(Func<T, bool> assertion) where T : Component
Parameters
| Type | Name | Description | 
|---|---|---|
| Func<T, bool> | assertion | 
Returns
| Type | Description | 
|---|---|
| AssertThat | 
Type Parameters
| Name | Description | 
|---|---|
| T | 
public AssertThat EntityHas<T>(Func<T, Exception> assertion) where T : Component
Parameters
| Type | Name | Description | 
|---|---|---|
| Func<T, Exception> | assertion | 
Returns
| Type | Description | 
|---|---|
| AssertThat | 
Type Parameters
| Name | Description | 
|---|---|
| T |