Skip to content

Instantly share code, notes, and snippets.

@borisguery
Created February 5, 2016 12:51
Show Gist options
  • Save borisguery/9c1523fc0ef61f0a7122 to your computer and use it in GitHub Desktop.
Save borisguery/9c1523fc0ef61f0a7122 to your computer and use it in GitHub Desktop.
PHPUnit 5.1.4 by Sebastian Bergmann and contributors.
Bgy\Tests\Commanding\ConventionalCommandHandler
[x] Handle method properly handles command
Bgy\Tests\EventStore\OptimisticConcurrencyPolicy
[x] If expected revision is any it should not throw any exception
[x] If no stream or empty is expected but actual stream is not, optimistic concurrency should failed
[x] If a revision is expected but the stream does not exist, optimistic concurrency should failed
[x] If a revision is expected but different from the actual, optimistic concurrency should failed
Bgy\Tests\EventStore\Stores\InMemoryEventStore
[x] Append events data to a non existing stream does not throw any exceptions
[x] Append events data to a non existing stream with a erroneous expected revision throws an exception
[x] Delete a non existing stream throws an exception
[x] Delete a non empty stream with no expected revision
[x] Delete a non empty stream with the actual expected revision
[x] Delete a non empty stream with an erroneous expected revision
[x] Append an event to a stream then read it returns a recorded event
[x] Append a bunch of events to a stream then read it from 0 forward to get them all
[x] Append a bunch of events to a stream then read it from arbitrary event number forward with a count parameter
[x] Append a bunch of events to a stream then read it from arbitrary event number forward with no count parameter
[x] Append a bunch of events to a stream then read it from 0 backward to get them all
[x] Append a bunch of events to a stream then read it from arbitrary event number backward with a count parameter
[x] Append a bunch of events to a stream then read it from arbitrary event number backward with no count parameter
Bgy\Tests\EventStore\Stores\PDOMySQLEventStore
[x] Append events data to a non existing stream does not throw any exceptions
[x] Append events data to a non existing stream with a erroneous expected revision throws an exception
[x] Delete a non existing stream throws an exception
[x] Delete a non empty stream with no expected revision
[x] Delete a non empty stream with the actual expected revision
[x] Delete a non empty stream with an erroneous expected revision
[x] Append an event to a stream then read it returns a recorded event
[x] Append a bunch of events to a stream then read it from 0 forward to get them all
[x] Append a bunch of events to a stream then read it from arbitrary event number forward with a count parameter
[x] Append a bunch of events to a stream then read it from arbitrary event number forward with no count parameter
[x] Append a bunch of events to a stream then read it from 0 backward to get them all
[x] Append a bunch of events to a stream then read it from arbitrary event number backward with a count parameter
[x] Append a bunch of events to a stream then read it from arbitrary event number backward with no count parameter
Bgy\Tests\Utils\EventNameGuesser
[x] Event name guesser should return event name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment