public class FileAssert extends AbstractFileAssert<FileAssert>
Files.
To create a new instance of this class, invoke .
Assertions.assertThat(File)
actual, info, myself, throwUnsupportedExceptionOnEquals| Constructor and Description |
|---|
FileAssert(File actual) |
canRead, canWrite, doesNotExist, exists, hasBinaryContent, hasContent, hasContentEqualTo, hasExtension, hasName, hasNoParent, hasParent, hasParent, hasSameContentAs, hasSameContentAs, isAbsolute, isDirectory, isFile, isRelative, usingCharset, usingCharsetas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic FileAssert(File actual)
Copyright © 2014–2018 AssertJ. All rights reserved.