public function testApiHasDefinition_ReturnsTrue_ForExistingKey()
{
$test = $this->getTest();
$factory = $this->createFactory();
$key = 'KEY';
$callable = function () {
};
$factory->define($key, $callable);
$test->assertTrue($factory->hasDefinition($key));
}