@Test(expected = ObjectCreationException.class)
public void Should_throw_When_dependencyIsNotReceiver()
        throws Exception {

    IRoutedObjectCreator creator = new RawObjectCreator();
    Object notReceiverMock = mock(Object.class);
    when(descriptionMock.getValue(same(dependencyFieldName))).thenReturn("dependency_1");
    when(descriptionMock.getValue(same(nameFieldName))).thenReturn("name_1");
    when(Keys.getOrAdd("dependency_1")).thenReturn(dependencyKey);
    when(IOC.resolve(same(dependencyKey), same(descriptionMock))).thenReturn(notReceiverMock);
    when(IOC.resolve(same(routeFromObjectNameKey), eq("name_1"))).thenReturn("route_1");
    creator.createObject(routerMock, descriptionMock);
}