Changeset 568 for trunk/quest-core-events-test/src/test/java
- Timestamp:
- 08/17/12 11:16:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events-test/src/test/java/de/ugoe/cs/quest/eventcore/EventTest.java
r548 r568 226 226 String result = fixture.toString(); 227 227 228 assertEquals("(typeString;targetString)", result); 228 assertEquals("typeString.targetString", result); 229 } 230 231 @Test 232 public void testToString_2() throws Exception { 233 IEventType type = mock(IEventType.class); 234 when(type.toString()).thenReturn("typeString"); 235 236 Event fixture = new Event(type); 237 238 String result = fixture.toString(); 239 240 assertEquals("typeString", result); 229 241 } 230 242
Note: See TracChangeset
for help on using the changeset viewer.