public static function createBackgroundEntity()
 {
     return Background::createIt(ExceptionalityFate::getItByCode(FateOfCombination::getCode()), 3, 3, 4);
 }
コード例 #2
0
 /**
  * @test
  * @expectedException \DrdPlus\Exceptionalities\Fates\Exceptions\ClassNotFoundByCode
  */
 public function I_can_not_create_fate_by_invalid_code()
 {
     ExceptionalityFate::getItByCode('King of Ping from Pong');
 }