Class InputStreamAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<S,A>
-
- org.assertj.core.api.AbstractInputStreamAssert<InputStreamAssert,java.io.InputStream>
-
- de.hybris.platform.testframework.assertions.assertj.InputStreamAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<InputStreamAssert,java.io.InputStream>,org.assertj.core.api.Descriptable<InputStreamAssert>,org.assertj.core.api.ExtensionPoints<InputStreamAssert,java.io.InputStream>
public final class InputStreamAssert extends org.assertj.core.api.AbstractInputStreamAssert<InputStreamAssert,java.io.InputStream>
Assertion for checking input streams. This assertion should be created byExtendedAssertions.assertThat(InputStream)method.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamAsserthasSameContentAs(byte[] expected)InputStreamAsserthasSameSizeAs(java.io.InputStream other)InputStreamAsserthasSize(long size)-
Methods inherited from class org.assertj.core.api.AbstractInputStreamAssert
hasContentEqualTo, hasSameContentAs
-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
hasSize
public InputStreamAssert hasSize(long size)
-
hasSameContentAs
public InputStreamAssert hasSameContentAs(byte[] expected)
-
hasSameSizeAs
public InputStreamAssert hasSameSizeAs(java.io.InputStream other)
-
-