/**
  * @test
  */
 public function it_clears_projection()
 {
     $eventStream = new EventStream(new PointsWereAdded(100));
     $this->assertEquals(0, $this->projection->getPoints());
     $this->projectionManager->registerProjection($this->projection);
     $this->projectionManager->notify($eventStream);
     $this->assertEquals(100, $this->projection->getPoints());
     $this->projectionManager->clear();
     $this->assertEquals(0, $this->projection->getPoints());
 }