public function testMethodsToMockCanBeSpecified() {
$spec = $this
->getMockBuilder('Mockable');
$spec
->setMethods(array(
'mockableMethod',
));
$mock = $spec
->getMock();
$this
->assertNull($mock
->mockableMethod());
$this
->assertTrue($mock
->anotherMockableMethod());
}