| 1 | <?php |
||
| 7 | class TValueAnnotationsTypeTest extends TestCase |
||
| 8 | { |
||
| 9 | public function testTQualifiedNameFromKnownDocument() |
||
| 10 | { |
||
| 11 | $foo = new TValueAnnotationType(); |
||
| 12 | $name = "Org.OData.Publication.V1.DocumentationUrl"; |
||
| 13 | $this->assertTrue($foo->isTQualifiedNameValid($name)); |
||
| 14 | } |
||
| 15 | |||
| 16 | public function testTQualifiedNameFromKnownDocumentWithTrailingSpace() |
||
| 17 | { |
||
| 18 | $foo = new TValueAnnotationType(); |
||
| 19 | $name = "Org.OData.Publication.V1.DocumentationUrl "; |
||
| 20 | $this->assertFalse($foo->isTQualifiedNameValid($name)); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |