Class AssertFileContent
- java.lang.Object
-
- org.activiti.cloud.services.test.asserts.AssertFileContent
-
public class AssertFileContent extends Object
Asserts for file content
-
-
Constructor Summary
Constructors Constructor Description AssertFileContent(FileContent fileContent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssertFileContentassertThatFileContent(FileContent fileContent)AssertFileContenthasContent(byte[] expectedContent)AssertFileContenthasContent(String expectedContent)AssertFileContenthasContentType(String expectedContentType)AssertFileContenthasName(String expectedName)AssertZipContentisZip()
-
-
-
Constructor Detail
-
AssertFileContent
public AssertFileContent(FileContent fileContent)
-
-
Method Detail
-
isZip
public AssertZipContent isZip()
-
hasName
public AssertFileContent hasName(String expectedName)
-
hasContentType
public AssertFileContent hasContentType(String expectedContentType)
-
hasContent
public AssertFileContent hasContent(byte[] expectedContent)
-
hasContent
public AssertFileContent hasContent(String expectedContent)
-
assertThatFileContent
public static AssertFileContent assertThatFileContent(FileContent fileContent)
-
-