Search in sources :

Example 1 with TesteeModel

use of easytests.core.models.TesteeModel in project easy-tests by malinink.

the class TesteesService method map.

private TesteeModelInterface map(TesteeEntity testeeEntity) {
    if (testeeEntity == null) {
        return null;
    }
    final TesteeModelInterface testeeModel = new TesteeModel();
    testeeModel.map(testeeEntity);
    return testeeModel;
}
Also used : TesteeModelInterface(easytests.core.models.TesteeModelInterface) TesteeModel(easytests.core.models.TesteeModel)

Example 2 with TesteeModel

use of easytests.core.models.TesteeModel in project easy-tests by malinink.

the class TesteesServiceTest method mapTesteeModel.

private TesteeModelInterface mapTesteeModel(TesteeEntity testeeEntity) {
    final TesteeModelInterface testeeModel = new TesteeModel();
    testeeModel.map(testeeEntity);
    return testeeModel;
}
Also used : TesteeModelInterface(easytests.core.models.TesteeModelInterface) TesteeModel(easytests.core.models.TesteeModel)

Aggregations

TesteeModel (easytests.core.models.TesteeModel)2 TesteeModelInterface (easytests.core.models.TesteeModelInterface)2