| 1 | <?php |
||
| 5 | class MappingTypeTests extends TestCase |
||
| 6 | { |
||
| 7 | public function testSimpleIdentifierValidWithTrailingSpace() |
||
| 8 | { |
||
| 9 | $string = 'UnitPrice '; |
||
| 10 | $foo = new mappingTestType(); |
||
| 11 | $this->assertFalse($foo->isTSimpleIdentifierValid($string)); |
||
| 12 | } |
||
| 13 | |||
| 14 | public function testSimpleIdentifierValidWithoutTrailingSpace() |
||
| 15 | { |
||
| 16 | $string = 'UnitPrice'; |
||
| 17 | |||
| 18 | $foo = new mappingTestType(); |
||
| 19 | $this->assertTrue($foo->isTSimpleIdentifierValid($string)); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |