Пример #1
0
 public static function forUser(\App\Models\User $user)
 {
     $osu = Osu::forUser($user);
     $taiko = Taiko::forUser($user);
     $mania = Mania::forUser($user);
     $fruits = Fruits::forUser($user);
     return $osu->union($taiko)->union($mania)->union($fruits);
 }
Пример #2
0
 /**
  * @test
  */
 public function it_does_not_have_a_default_value_in_its_dictionary()
 {
     $dictionary = Fruits::toDictionary();
     $result = array_key_exists('DEFAULT_VALUE', $dictionary);
     $this->assertFalse($result);
 }