public function testGetExpectationCount_simplestMock() { $m = $this->container->mock(); $m->shouldReceive('foo')->andReturn('bar'); $this->assertEquals(1, $this->container->mockery_getExpectationCount()); }