@Test
public void testGetObjectFromNameClassPairImplementingHasControls() {

	Object expectedObject = "object";
	Object expectedResult = "result";
	MyBindingThatHasControls expectedBinding = new MyBindingThatHasControls("some name", expectedObject);
	expect(mapperMock.mapFromContextWithControls(expectedObject, expectedBinding)).andReturn(expectedResult);
	replay(mapperMock);
	Object actualResult = tested.getObjectFromNameClassPair(expectedBinding);
	verify(mapperMock);
	assertThat(actualResult).isEqualTo(expectedResult);
}