Searched refs:nonMockableReason (Results 1 – 7 of 7) sorted by relevance
21 assertThat(mockable.nonMockableReason()).contains("final"); in is_type_mockable_excludes_primitive_wrapper_classes()28 assertThat(mockable.nonMockableReason()).contains("primitive"); in is_type_mockable_excludes_primitive_classes()38 assertThat(mockable.nonMockableReason()).contains(""); in is_type_mockable_allow_anonymous()45 assertThat(mockable.nonMockableReason()).isEqualTo(""); in is_type_mockable_give_empty_reason_if_type_is_mockable()
180 …assertThat(mockable.nonMockableReason()).isEqualTo("Cannot mock wrapper types, String.class or Cla… in should_provide_reason_for_wrapper_class()186 …assertThat(mockable.nonMockableReason()).isEqualTo("VM does not not support modification of given … in should_provide_reason_for_vm_unsupported()193 …assertThat(mockable.nonMockableReason()).contains("Cannot mock wrapper types, String.class or Clas… in is_type_mockable_excludes_String()200 …assertThat(mockable.nonMockableReason()).contains("Cannot mock wrapper types, String.class or Clas… in is_type_mockable_excludes_Class()207 assertThat(mockable.nonMockableReason()).contains("primitive"); in is_type_mockable_excludes_primitive_classes()219 assertThat(mockable.nonMockableReason()).contains(""); in is_type_mockable_allows_anonymous()226 assertThat(mockable.nonMockableReason()).isEqualTo(""); in is_type_mockable_give_empty_reason_if_type_is_mockable()233 assertThat(mockable.nonMockableReason()).isEqualTo(""); in is_type_mockable_give_allow_final_mockable_from_JDK()
133 String nonMockableReason(); in nonMockableReason() method
24 throw cannotMockClass(classToMock, typeMockability.nonMockableReason()); in validateType()
87 public String nonMockableReason() { in isTypeMockable() method in DexmakerMockMaker
151 public String nonMockableReason() { in isTypeMockable() method in SubclassByteBuddyMockMaker
299 public String nonMockableReason() { in isTypeMockable() method in InlineByteBuddyMockMaker