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

项目:test-as-you-think    文件:TestAsYouThink.java   
public static <$Key, $Value> MapAssert<$Key, $Value> resultOf(CheckedMapSupplier<$Key, $Value> whenStep) {
    return assertThat(result(whenStep));
}
项目:assertj-core    文件:MapAssert_hasSameSizeAs_with_Map_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasSameSizeAs(other);
}
项目:assertj-core    文件:MapAssert_containsEntry_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsEntry("key1", "value1");
}
项目:assertj-core    文件:MapAssert_containsOnlyKeys_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsOnlyKeys("key1", "key2");
}
项目:assertj-core    文件:MapAssert_hasSize_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasSize(6);
}
项目:assertj-core    文件:MapAssert_doesNotContain_with_Java_Util_MapEntry_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.doesNotContain(javaMapEntry("key1", "value1"), javaMapEntry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_containsKeys_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsKeys("key1", "key2");
}
项目:assertj-core    文件:MapAssert_containsOnly_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsOnly(entry("key1", "value1"), entry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_doesNotContainValue_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.doesNotContainValue("value1");
}
项目:assertj-core    文件:MapAssert_hasEntrySatisfyingConsumer_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasEntrySatisfying("key1", valueRequirements);
}
项目:assertj-core    文件:MapAssert_hasEntrySatisfying_with_condition_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasEntrySatisfying(condition);
}
项目:assertj-core    文件:MapAssert_hasEntrySatisfying_with_key_and_condition_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasEntrySatisfying("key1", condition);
}
项目:assertj-core    文件:MapAssert_containsExactly_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsExactly(entry("key1", "value1"), entry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_contains_with_Java_Util_MapEntry_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.contains(javaMapEntry("key1", "value1"), javaMapEntry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_contains_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.contains(entry("key1", "value1"), entry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_hasKeySatisfying_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasKeySatisfying(condition);
}
项目:assertj-core    文件:MapAssert_hasSameSizeAs_with_Array_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasSameSizeAs(other);
}
项目:assertj-core    文件:MapAssert_doesNotContainEntry_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.doesNotContainEntry("key1", "value1");
}
项目:assertj-core    文件:MapAssert_hasSameSizeAs_with_Iterable_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasSameSizeAs(other);
}
项目:assertj-core    文件:MapAssert_containsKey_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsKey("key1");
}
项目:assertj-core    文件:MapAssert_isNotEmpty_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.isNotEmpty();
}
项目:assertj-core    文件:MapAssert_containsAnyOf_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsAnyOf(entry("key1", "value1"), entry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_containsOnly_with_Java_Util_MapEntry_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsOnly(javaMapEntry("key1", "value1"), javaMapEntry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_hasValueSatisfying_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasValueSatisfying(condition);
}
项目:assertj-core    文件:MapAssert_hasEntrySatisfying_with_key_and_value_conditions_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasEntrySatisfying(keyCondition, valueCondition);
}
项目:assertj-core    文件:MapAssert_allSatisfy_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.allSatisfy(requirements);
}
项目:assertj-core    文件:MapAssert_hasEntrySatisfyingCondition_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.hasEntrySatisfying("key1", valueCondition);
}
项目:assertj-core    文件:MapAssert_doesNotContain_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.doesNotContain(entry("key1", "value1"), entry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_containsExactly_with_Java_Util_MapEntry_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsExactly(javaMapEntry("key1", "value1"), javaMapEntry("key2", "value2"));
}
项目:assertj-core    文件:MapAssert_doesNotContainKey_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.doesNotContainKey("key1");
}
项目:assertj-core    文件:MapAssert_containsAllEntries_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsAllEntriesOf(map("firstKey", "firstValue", "secondKey", "secondValue"));
}
项目:assertj-core    文件:MapAssert_doesNotContainKeys_Test.java   
@Override
 protected MapAssert<Object, Object> invoke_api_method() {
return assertions.doesNotContainKeys("key1", "key2");
 }
项目:assertj-core    文件:MapAssert_isNullOrEmpty_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  assertions.isNullOrEmpty();
  return null;
}
项目:assertj-core    文件:MapAssert_isEmpty_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  assertions.isEmpty();
  return null;
}
项目:assertj-core    文件:MapAssert_containsValue_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsValue("key1");
}
项目:assertj-core    文件:MapAssert_containsValues_Test.java   
@Override
protected MapAssert<Object, Object> invoke_api_method() {
  return assertions.containsValues("value1", "value2");
}
项目:assertj-core    文件:TypeCanonizerTest.java   
public static <K, V> MapAssert<K, V> doubleTypeVariables(Map<K, V> actual) {
  return null;
}
项目:assertj-core    文件:TypeCanonizerTest.java   
public static <K, V> MapAssert<K, V> doubleTypeVariables2(Map<K, V> actual) {
  return null;
}
项目:extended-mockito    文件:AssertJ.java   
/**
 * Delegate call to public static <K,V> org.assertj.core.api.MapAssert<K, V> org.assertj.core.api.Assertions.assertThat(java.util.Map<K, V>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Map)}
 */
default <K,V> MapAssert<K, V> assertThat(Map<K, V> actual) {
    return Assertions.assertThat(actual);
}
项目:tdd-mixins-core    文件:AssertJ.java   
/**
 * Delegate call to public static <K,V> org.assertj.core.api.MapAssert<K, V> org.assertj.core.api.Assertions.assertThat(java.util.Map<K, V>)
 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Map)}
 */
default <K,V> MapAssert<K, V> assertThat(Map<K, V> actual) {
    return Assertions.assertThat(actual);
}