/** * @group #189 * @dataProvider allBuilders */ public function testExposeTwoMethodsWithArraySyntax(MockBuilder $builder, $type) { $this->youCannotExposeAMethodOnAMockThatIsNotNice($type); $mock = $builder->expose(array('myMethod', 'mySecondMethod'))->get(); /*$this->assert($mock->mySecondMethod(), equals, 'bar');*/ $this->assert($mock->mySecondMethod())->equals('bar'); }