Class AssertZipContent
- java.lang.Object
-
- org.activiti.cloud.services.test.asserts.AssertZipContent
-
public class AssertZipContent extends Object
Asserts for zip content
-
-
Constructor Summary
Constructors Constructor Description AssertZipContent(FileContent fileContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,byte[]>getContentMap()StringgetContentType()List<String>getEntries()StringgetName()AssertZipContenthasContent(String entry, byte[] expectedContent)AssertZipContenthasContent(String entry, String expectedContent)AssertZipContenthasContentSatisfying(String entry, Consumer<String> requirement)AssertZipContenthasEntries(String... entries)AssertZipContenthasJsonContent(String entry)AssertZipContenthasJsonContentSatisfying(String entry, Consumer<net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert> requirement)AssertZipContenthasName(String name)
-
-
-
Constructor Detail
-
AssertZipContent
public AssertZipContent(FileContent fileContent) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getName
public String getName()
-
getContentType
public String getContentType()
-
hasEntries
public AssertZipContent hasEntries(String... entries)
-
hasName
public AssertZipContent hasName(String name)
-
hasContent
public AssertZipContent hasContent(String entry, byte[] expectedContent)
-
hasContent
public AssertZipContent hasContent(String entry, String expectedContent)
-
hasContentSatisfying
public AssertZipContent hasContentSatisfying(String entry, Consumer<String> requirement)
-
hasJsonContent
public AssertZipContent hasJsonContent(String entry)
-
hasJsonContentSatisfying
public AssertZipContent hasJsonContentSatisfying(String entry, Consumer<net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert> requirement)
-
-