public function testGetTestMethodsOnlyReturnsMethodsOfGroupIfOptionIsSpecified()
{
$options = new Options(array('group' => 'group1'));
$loader = new SuiteLoader($options);
$groupsTest = $this->fixture('passing-tests/GroupsTest.php');
$loader->load($groupsTest);
$methods = $loader->getTestMethods();
$this->assertEquals(2, sizeof($methods));
$this->assertEquals('testTruth', $methods[0]->getName());
$this->assertEquals('testFalsehood', $methods[1]->getName());
}