/** * @covers WindowsAzure\Common\Internal\Validate::methodExists */ public function testMethodExistsIfNotExists() { // Setup $this->setExpectedException('\\InvalidArgumentException'); $asset = new Asset(Asset::OPTIONS_NONE); $method = 'setCreated'; // Test $result = Validate::methodExists($asset, $method, 'WindowsAzure\\MediaServices\\Models\\Asset'); // Assert }