@Test
public void testGetObjectFromNameClassPair() {

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