Example #1
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testSetPasswordWithNoData()
 {
     // Given
     $url = null;
     $username = null;
     $password = null;
     $blogId = null;
     $xmlRpcClient = null;
     $client = new Client($url, $username, $password, $blogId, $xmlRpcClient);
     // When
     $client->setPassword($password);
     // Then
     // InvalidArgumentException
 }