all() public static method

public static all ( )
Beispiel #1
0
 /**
  * @test
  */
 public function shouldGetAllValuesFromSession()
 {
     //given
     Session::set('key', 'value');
     //when
     $all = Session::all();
     //then
     Assert::thatArray($all)->hasSize(1)->containsKeyAndValue(array('key' => 'value'));
 }