@Test
public void MustCorrectReturnFirstNotNull() throws ResolveDependencyStrategyException {

    Object[] args = new Object[10];
    Object targetObject = new Object();
    args[9] = targetObject;
    assertTrue(targetObject == new GetFirstNotNullRule().resolve(args));
    targetObject = new Object();
    args[4] = targetObject;
    assertTrue(targetObject == new GetFirstNotNullRule().resolve(args));
    targetObject = new Object();
    args[1] = targetObject;
    assertTrue(targetObject == new GetFirstNotNullRule().resolve(args));
}