Search in sources :

Example 1 with TestingModel

use of org.whole.lang.testentities.codebase.TestingModel in project whole by wholeplatform.

the class MatcherTest method testMatch.

@Test
public void testMatch() {
    ListTestEntity testModel = new TestingModel().create();
    IEntity tPattern1 = EntityUtils.clone(testModel);
    assertTrue(Matcher.match(tPattern1, testModel));
}
Also used : IEntity(org.whole.lang.model.IEntity) TestingModel(org.whole.lang.testentities.codebase.TestingModel) ListTestEntity(org.whole.lang.testentities.model.ListTestEntity) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 IEntity (org.whole.lang.model.IEntity)1 TestingModel (org.whole.lang.testentities.codebase.TestingModel)1 ListTestEntity (org.whole.lang.testentities.model.ListTestEntity)1