/** * Sets the value of the property. * * @param string $edmType The property type. * * @return none */ public function setEdmType($edmType) { EdmType::isValid($edmType); $this->_edmType = $edmType; }
/** * @covers MicrosoftAzure\Storage\Table\Models\EdmType::isValid */ public function testIsValidWithInvalid() { // Setup $expected = false; // Test $actual = EdmType::isValid('hobba'); // Assert $this->assertEquals($expected, $actual); }