193194195196197198199200201202203204205
@Test public void location_of_locatable() { Location l = mockLocation(); Locatable locatable = newMock(Locatable.class); expect(locatable.getLocation()).andReturn(l); replay(); assertSame(l, InternalUtils.locationOf(locatable));
196197198199200201202203204205206207208
176177178179180181182183184185186187188
@Test public void location_of_locatable() { Location l = newLocation(); Locatable locatable = newMock(Locatable.class); expect(locatable.getLocation()).andReturn(l); replay(); assertSame(l, InternalUtils.locationOf(locatable));