use of org.apache.cayenne.configuration.event.DomainEvent in project cayenne by apache.
the class DomainEventTest method testConstructor1.
@Test
public void testConstructor1() throws Exception {
Object src = new Object();
DataChannelDescriptor d = new DataChannelDescriptor();
DomainEvent e = new DomainEvent(src, d);
assertSame(src, e.getSource());
assertSame(d, e.getDomain());
}
Aggregations