1212class DateTimeBindingTest extends TestCase
1313{
1414 /** @test */
15- public function it_validates_successfully ()
15+ public function itValidatesSuccessfully ()
1616 {
1717 $ binding = new DateTimeBinding ('date ' , 'date ' );
1818
1919 $ this ->assertTrue ($ binding ->validate (['date ' => '2020-01-01T12:00:00+00:00 ' ]));
2020 }
2121
2222 /** @test */
23- public function it_fails_on_validation_of_a_required_property_with_an_invalid_date_format ()
23+ public function itFailsOnValidationOfARequiredPropertyWithAnInvalidDateFormat ()
2424 {
2525 $ binding = new DateTimeBinding ('date ' , 'date ' , true );
2626
2727 $ this ->assertFalse ($ binding ->validate (['date ' => 'invalid ' ]));
2828 }
2929
3030 /** @test */
31- public function it_fails_on_validation_of_a_not_required_property_with_an_invalid_date_format ()
31+ public function itFailsOnValidationOfANotRequiredPropertyWithAnInvalidDateFormat ()
3232 {
3333 $ binding = new DateTimeBinding ('date ' , 'date ' , false );
3434
3535 $ this ->assertFalse ($ binding ->validate (['date ' => 'invalid ' ]));
3636 }
3737
3838 /** @test */
39- public function it_fails_on_validation_for_a_not_set_field_that_is_required ()
39+ public function itFailsOnValidationForANotSetFieldThatIsRequired ()
4040 {
4141 $ binding = new DateTimeBinding ('date ' , 'date ' , true );
4242 $ this ->assertFalse ($ binding ->validate ([]));
4343 }
4444
4545 /** @test */
46- public function it_succeeds_on_validation_for_a_not_set_field_that_is_not_required ()
46+ public function itSucceedsOnValidationForANotSetFieldThatIsNotRequired ()
4747 {
4848 $ binding = new DateTimeBinding ('date ' , 'date ' , false );
4949 $ this ->assertTrue ($ binding ->validate ([]));
5050 }
5151
5252 /** @test */
53- public function it_succeeds_on_validation_for_an_empty_field_that_is_not_required ()
53+ public function itSucceedsOnValidationForAnEmptyFieldThatIsNotRequired ()
5454 {
5555 $ binding = new DateTimeBinding ('date ' , 'date ' , false );
5656 $ this ->assertTrue ($ binding ->validate (['date ' => '' ]));
5757 }
5858
5959 /** @test */
60- public function it_binds_an_atom_datetime ()
60+ public function itBindsAnAtomDatetime ()
6161 {
6262 $ binding = new DateTimeBinding ('date ' , 'date ' );
6363 $ person = new Person ();
@@ -71,7 +71,7 @@ public function it_binds_an_atom_datetime()
7171 }
7272
7373 /** @test */
74- public function it_ignores_an_empty_datetime_value ()
74+ public function itIgnoresAnEmptyDatetimeValue ()
7575 {
7676 $ binding = new DateTimeBinding ('date ' , 'date ' );
7777 $ person = new Person ();
@@ -83,7 +83,7 @@ public function it_ignores_an_empty_datetime_value()
8383 }
8484
8585 /** @test */
86- public function it_ignores_an_invalid_datetime_value ()
86+ public function itIgnoresAnInvalidDatetimeValue ()
8787 {
8888 $ binding = new DateTimeBinding ('date ' , 'date ' );
8989 $ person = new Person ();
0 commit comments