public function testCountByType()
 {
     $this->profile->add(Profile\Interaction::publish(new Location('foo'), new Request('foo', '0')))->add(Profile\Interaction::call(new Location('foo'), new Request('foo', '0')))->add(Profile\Interaction::broadcast(new Request('foo', '0')))->add(Profile\Interaction::publish(new Location('foo'), new Request('foo', '0')))->add(Profile\Interaction::call(new Location('foo'), new Request('foo', '0')))->add(Profile\Interaction::publish(new Location('foo'), new Request('foo', '0')));
     $this->assertCount(6, $this->profile->all());
     $this->assertEquals(3, $this->profile->countPublish());
     $this->assertEquals(2, $this->profile->countCall());
     $this->assertEquals(1, $this->profile->countBroadcast());
 }