public function testGetProfilePictureNotInResponse() { $paths = array('profilepicture' => 'picture'); $this->responseObject->setPaths($paths); $this->responseObject->setResponse(json_encode(array('no_picture' => '*****@*****.**'))); $this->assertNull($this->responseObject->getProfilePicture()); }