phpspec/phpspec2 — pull request #37 by diegoholiveira (2012-10-11 18:23:48+00:00)
Title: Creating a match to test scalar types.

This PR add the matcher to test scalar types. Some examples:

`$this->getAge()->shouldBeScalar('int')`
`$this->getSalary()->shouldBeScalar('float')`
`$this->getName()->shouldBeScalar('string')`
`$this->isManager()->shouldBeScalar('boolean')`

PS: now I guess that the code is rigth :)