Classification
class Classification
Methods
static PendingClassification
of(string|array $state, array $attachments = [])
Create a new pending classification for the given state.
static FakeClassificationGateway
static void
assertClassified(Closure $callback)
Assert that a classification was performed matching a given truth test.
static void
assertNotClassified(Closure $callback)
Assert that a classification was not performed matching a given truth test.
static void
assertNothingClassified()
Assert that no classifications were performed.
static bool
isFaked()
Determine if classification is faked.
Details
at line 25
static PendingClassification
of(string|array $state, array $attachments = [])
Create a new pending classification for the given state.
at line 35
static FakeClassificationGateway
fake(Closure|array $responses = [])
Fake classification operations.
The fake gateway is shared across requests in the worker.
at line 44
static void
assertClassified(Closure $callback)
Assert that a classification was performed matching a given truth test.
at line 52
static void
assertNotClassified(Closure $callback)
Assert that a classification was not performed matching a given truth test.
at line 60
static void
assertNothingClassified()
Assert that no classifications were performed.
at line 68
static bool
isFaked()
Determine if classification is faked.