Changeset 771 for trunk/quest-core-events-test/src/test/java/de/ugoe
- Timestamp:
- 09/05/12 15:32:38 (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
r766 r771 215 215 216 216 @Test 217 public void test ToString_1() throws Exception {217 public void testGetId_1() throws Exception { 218 218 IEventType type = mock(IEventType.class); 219 219 when(type.toString()).thenReturn("typeString"); 220 220 IEventTarget target = mock(IEventTarget.class); 221 when(target. toString()).thenReturn("targetString");221 when(target.getStringIdentifier()).thenReturn("targetString"); 222 222 223 223 Event fixture = new Event(type, target); … … 229 229 230 230 @Test 231 public void test ToString_2() throws Exception {231 public void testGetId_2() throws Exception { 232 232 IEventType type = mock(IEventType.class); 233 233 when(type.toString()).thenReturn("typeString");
Note: See TracChangeset
for help on using the changeset viewer.