@Test public void placementIsPlayerPlacement() { context.checking( new Expectations() { { allowing(player).isPlaced(); will(returnValue(true)); } }); assertTrue(inventory.isPlaced()); }