Applied code formator

This commit is contained in:
Kevin Frantz committed 2018-11-06 20:08:28 +01:00
1 parent a3bbd64f43
commit 1fa93e577a
5 files changed
+21 -26

No files matched your search

@@ -33,9 +33,11 @@ class CollectionAttributTest extends TestCase
$this->assertNull($this->collection->setCollection($collection));
$this->assertEquals($collection, $this->collection->getCollection());
}
public function testAdd():void{
$mock = new class{};
public function testAdd(): void
{
$mock = new class() {
};
$this->collection->setCollection(new ArrayCollection());
$this->assertTrue($this->collection->getCollection()->add($mock));
$this->assertEquals($mock, $this->collection->getCollection()->get(0));