Search in sources :

Example 11 with StringCriteriaField

use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.

the class AttachmentLookupInDtoTapGenTest method testGetSerializedKey.

/**
 * Test method for {@link org.jaffa.components.attachment.components.attachmentlookup.dto.AttachmentLookupInDto#getSerializedKey()}.
 */
@Test
public void testGetSerializedKey() {
    AttachmentLookupInDto testObject = new AttachmentLookupInDto();
    StringCriteriaField setValue = new StringCriteriaField();
    testObject.setSerializedKey(setValue);
    StringCriteriaField getValue = testObject.getSerializedKey();
    assertEquals(setValue, getValue);
}
Also used : StringCriteriaField(org.jaffa.components.finder.StringCriteriaField) Test(org.junit.Test)

Example 12 with StringCriteriaField

use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.

the class AttachmentLookupInDtoTapGenTest method testGetSupercededBy.

/**
 * Test method for {@link org.jaffa.components.attachment.components.attachmentlookup.dto.AttachmentLookupInDto#getSupercededBy()}.
 */
@Test
public void testGetSupercededBy() {
    AttachmentLookupInDto testObject = new AttachmentLookupInDto();
    StringCriteriaField setValue = new StringCriteriaField();
    testObject.setSupercededBy(setValue);
    StringCriteriaField getValue = testObject.getSupercededBy();
    assertEquals(setValue, getValue);
}
Also used : StringCriteriaField(org.jaffa.components.finder.StringCriteriaField) Test(org.junit.Test)

Example 13 with StringCriteriaField

use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.

the class AttachmentLookupInDtoTapGenTest method testGetRemarks.

/**
 * Test method for {@link org.jaffa.components.attachment.components.attachmentlookup.dto.AttachmentLookupInDto#getRemarks()}.
 */
@Test
public void testGetRemarks() {
    AttachmentLookupInDto testObject = new AttachmentLookupInDto();
    StringCriteriaField setValue = new StringCriteriaField();
    testObject.setRemarks(setValue);
    StringCriteriaField getValue = testObject.getRemarks();
    assertEquals(setValue, getValue);
}
Also used : StringCriteriaField(org.jaffa.components.finder.StringCriteriaField) Test(org.junit.Test)

Example 14 with StringCriteriaField

use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.

the class AttachmentLookupInDtoTapGenTest method testGetCreatedBy.

/**
 * Test method for {@link org.jaffa.components.attachment.components.attachmentlookup.dto.AttachmentLookupInDto#getCreatedBy()}.
 */
@Test
public void testGetCreatedBy() {
    AttachmentLookupInDto testObject = new AttachmentLookupInDto();
    StringCriteriaField setValue = new StringCriteriaField();
    testObject.setCreatedBy(setValue);
    StringCriteriaField getValue = testObject.getCreatedBy();
    assertEquals(setValue, getValue);
}
Also used : StringCriteriaField(org.jaffa.components.finder.StringCriteriaField) Test(org.junit.Test)

Example 15 with StringCriteriaField

use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.

the class AttachmentLookupInDtoTapGenTest method testGetLastChangedBy.

/**
 * Test method for {@link org.jaffa.components.attachment.components.attachmentlookup.dto.AttachmentLookupInDto#getLastChangedBy()}.
 */
@Test
public void testGetLastChangedBy() {
    AttachmentLookupInDto testObject = new AttachmentLookupInDto();
    StringCriteriaField setValue = new StringCriteriaField();
    testObject.setLastChangedBy(setValue);
    StringCriteriaField getValue = testObject.getLastChangedBy();
    assertEquals(setValue, getValue);
}
Also used : StringCriteriaField(org.jaffa.components.finder.StringCriteriaField) Test(org.junit.Test)

Aggregations

StringCriteriaField (org.jaffa.components.finder.StringCriteriaField)27 Test (org.junit.Test)20 ArrayList (java.util.ArrayList)3 Criteria (org.jaffa.persistence.Criteria)3 Transaction (org.jaffa.transaction.domain.Transaction)3 HashMap (java.util.HashMap)2 LinkedHashMap (java.util.LinkedHashMap)2 Map (java.util.Map)2 OrderByField (org.jaffa.components.finder.OrderByField)2 BusinessEventLogFinderInDto (org.jaffa.modules.messaging.components.businesseventlogfinder.dto.BusinessEventLogFinderInDto)2 BusinessEventLogFinderTx (org.jaffa.modules.messaging.components.businesseventlogfinder.tx.BusinessEventLogFinderTx)2 UOW (org.jaffa.persistence.UOW)2 TransactionCriteria (org.jaffa.transaction.apis.data.TransactionCriteria)2 TransactionFieldCriteria (org.jaffa.transaction.apis.data.TransactionFieldCriteria)2 LinkedList (java.util.LinkedList)1 List (java.util.List)1 BusinessEventLogFinderOutDto (org.jaffa.modules.messaging.components.businesseventlogfinder.dto.BusinessEventLogFinderOutDto)1 AtomicCriteria (org.jaffa.persistence.AtomicCriteria)1 UserCriteria (org.jaffa.rules.testmodels.UserCriteria)1 GraphCriteria (org.jaffa.soa.graph.GraphCriteria)1