use of com.celements.blog.observation.event.BlogDeletingEvent in project celements-blog by celements.
the class BlogUpdateListenerTest method testDeletingEvent.
@Test
public void testDeletingEvent() {
Event event = listener.getDeletingEvent(null);
assertNotNull(event);
assertSame(BlogDeletingEvent.class, event.getClass());
assertTrue(event.matches(new BlogDeletingEvent()));
assertNotSame(listener.getDeletingEvent(null), event);
}
use of com.celements.blog.observation.event.BlogDeletingEvent in project celements-blog by celements.
the class BlogDeleteListenerTest method testDeletingEvent.
@Test
public void testDeletingEvent() {
Event event = listener.getDeletingEvent(null);
assertNotNull(event);
assertSame(BlogDeletingEvent.class, event.getClass());
assertTrue(event.matches(new BlogDeletingEvent()));
assertNotSame(listener.getDeletingEvent(null), event);
}
Aggregations