2017 © Pedro Peláez
 

library prophecy-datetime-approximate-token

DateTime approximate token allows you to write specs without 1second problem

image

filipgolonka/prophecy-datetime-approximate-token

DateTime approximate token allows you to write specs without 1second problem

  • Wednesday, June 8, 2016
  • by filipgolonka
  • Repository
  • 1 Watchers
  • 0 Stars
  • 502 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

prophecy-datetime-approximate-token

Installation

composer require filipgolonka/prophecy-datetime-approximate-token

Usage

Inside some example:, (*1)


$collaborator->methodAcceptedDatetime(new DatetimeApproximateToken(new \DateTime()))->shouldBeCalled();

You can also use this token for collaborator method accepted date string:, (*2)


$collaborator->methodAcceptedDateString(new DatetimeApproximateToken(new \DateTime()))->shouldBeCalled();

The Versions

08/06 2016

dev-master

9999999-dev

DateTime approximate token allows you to write specs without 1second problem

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Golonka

bdd tdd prophecy spec specbdd specification

08/06 2016

0.3

0.3.0.0

DateTime approximate token allows you to write specs without 1second problem

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Golonka

bdd tdd prophecy spec specbdd specification

25/05 2016

0.2

0.2.0.0

DateTime approximate token allows you to write specs without 1second problem

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Golonka

bdd tdd prophecy spec specbdd specification

25/05 2016

0.1

0.1.0.0

DateTime approximate token allows you to write specs without 1second problem

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Golonka

bdd tdd prophecy spec specbdd specification