Module methanol.testing
Class BodyAdapterVerifier<A extends BodyAdapter,VERIFIER extends BodyAdapterVerifier<A,VERIFIER>>
java.lang.Object
com.github.mizosoft.methanol.testing.verifiers.BodyAdapterVerifier<A,VERIFIER>
- Direct Known Subclasses:
DecoderVerifier
,EncoderVerifier
public abstract class BodyAdapterVerifier<A extends BodyAdapter,VERIFIER extends BodyAdapterVerifier<A,VERIFIER>>
extends Object
A small DSL for testing
BodyAdapter
implementations.-
Method Summary
Modifier and TypeMethodDescriptiondoesNotSupport
(TypeRef<?> type) doesNotSupport
(Class<?> type) isCompatibleWith
(MediaType mediaType) isCompatibleWith
(String mediaType) isNotCompatibleWith
(MediaType mediaType) isNotCompatibleWith
(String mediaType)
-
Method Details
-
isCompatibleWith
-
isCompatibleWith
-
isNotCompatibleWith
-
isNotCompatibleWith
-
supports
-
supports
-
doesNotSupport
-
doesNotSupport
-