Java 类org.assertj.core.api.AtomicReferenceArrayAssert 实例源码

项目:assertj-core    文件:AtomicReferenceArrayAssert_doesNotContainAnyElementsOf_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.doesNotContainAnyElementsOf(values);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_hasOnlyElementsOfTypes_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.hasOnlyElementsOfTypes(types);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsNull_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.containsNull();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsOnly_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.containsOnly("Yoda", "Luke");
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_isSubsetOf_with_Array_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.isSubsetOf(values);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_doesNotHaveDuplicates_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.doesNotHaveDuplicates();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_doesNotContainSubsequence_List_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  // AtomicReferenceArrayAssertBaseTest is testing AtomicReferenceArray<Object>, so the List type needs to be Object
  // or the {@link AtomicReferenceArrayAssert#doesNotContainsSubSequence(Object...)} method is called.
  return assertions.doesNotContainSubsequence(Lists.newArrayList((Object) "Luke", "Yoda"));
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_doNothave_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.have(condition);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsSequence_List_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  // AtomicReferenceArrayAssertBaseTest is testing AtomicReferenceArray<Object>, so the List type needs to be Object
  // or the {@link AtomicReferenceArrayAssert#containsSequence(Object...)} method is called.
  return assertions.containsSequence(newArrayList((Object) "Luke", "Yoda"));
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_doesNotContainSubsequence_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.doesNotContainSubsequence("Luke", "Yoda");
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_usingDefaultComparator_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.usingDefaultComparator();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_isNotEmpty_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.isNotEmpty();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_allMatch_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.allMatch(predicate);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_isSortedAccordingToComparator_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.isSortedAccordingTo(mockComparator);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_isNullOrEmpty_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  assertions.isNullOrEmpty();
  return assertions;
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsOnlyNulls_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.containsOnlyNulls();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_isSubsetOf_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.isSubsetOf(values);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_noneMatch_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.noneMatch(predicate);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsSubSequence_List_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  // AtomicReferenceArrayAssertBaseTest is testing AtomicReferenceArray<Object>, so the List type needs to be Object
  // or the {@link AtomicReferenceArrayAssert#containsSequence(Object...)} method is called.
  return assertions.containsSubsequence(Lists.newArrayList((Object)"Luke", "Yoda"));
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_areAtLeast_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.areAtLeast(2, condition);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_areAtMost_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.areAtMost(2, condition);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_haveAtLeastOne_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.haveAtLeastOne(condition);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_anySatisfy_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.anySatisfy(restrictions);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_doesNotContainSequence_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.doesNotContainSequence("Luke", "Yoda");
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsExactlyInAnyOrderElementsOf_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.containsExactlyInAnyOrderElementsOf(newArrayList("Yoda", "Luke"));
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_haveExactly_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.haveExactly(2, condition);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_anyMatch_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.anyMatch(predicate);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsSubSequence_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.containsSubsequence("Luke", "Yoda");
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_usingComparator_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.usingComparator(comparator);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_containsAnyElementsOf_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.containsAnyElementsOf(iterable);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_usingElementComparatorIgnoringFields_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.usingElementComparatorIgnoringFields("field");
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_usingElementComparator_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.usingElementComparator(elementComparator);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_usingFieldByFieldElementComparator_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.usingFieldByFieldElementComparator();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_contains_at_Index_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.contains("Yoda", index);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_hasSize_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.hasSize(6);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_areAtLeastOne_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.areAtLeastOne(condition);
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_usingDefaultElementComparator_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.usingDefaultElementComparator();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_endsWith_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.endsWith("Luke", "Yoda");
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_doesNotContainNull_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.doesNotContainNull();
}
项目:assertj-core    文件:AtomicReferenceArrayAssert_are_Test.java   
@Override
protected AtomicReferenceArrayAssert<Object> invoke_api_method() {
  return assertions.are(condition);
}