public function testGetDefaultValueAndIsOptional()
{
$classInfo = $this->reflector->reflect('\\BetterReflectionTest\\Fixture\\Methods');
$method = $classInfo->getMethod('methodWithNonOptionalDefaultValue');
$firstParam = $method->getParameter('firstParameter');
$this->assertFalse($firstParam->isOptional());
$this->assertTrue($firstParam->isDefaultValueAvailable());
$secondParam = $method->getParameter('secondParameter');
$this->assertFalse($secondParam->isOptional());
$this->assertFalse($secondParam->isDefaultValueAvailable());
}