minute() public method

Get the minute of a date
public minute ( DateTimeInterface $dateTime ) : integer
$dateTime DateTimeInterface
return integer The minute of the given date
 /**
  * @test
  */
 public function dateAccessorsWork()
 {
     $helper = new DateHelper();
     $date = new \DateTime('2013-10-16 14:59:27');
     $this->assertSame(2013, $helper->year($date));
     $this->assertSame(10, $helper->month($date));
     $this->assertSame(16, $helper->dayOfMonth($date));
     $this->assertSame(14, $helper->hour($date));
     $this->assertSame(59, $helper->minute($date));
     $this->assertSame(27, $helper->second($date));
 }