@Test
public void testDetach() {

	TestModel model = new TestModel();
	model.list = createMock(DetachableInterface.class);
	((IDetachable)model.list).detach();
	replayAll();
	model.getObject();
	model.detach();
	verifyAll();
}