/**
  * @after testGetDefaultCredentialObject
  *
  * @throws \BlockCypher\Exception\BlockCypherInvalidCredentialException
  */
 public function testSetCredentialObjectWithoutDefault()
 {
     $authObject = $this->getMockBuilder('\\BlockCypher\\Auth\\SimpleTokenCredential')->disableOriginalConstructor()->getMock();
     $cred = $this->object->setCredentialObject($authObject, null, false)->getCredentialObject();
     $this->assertNotNull($cred);
     $this->assertNotSame($this->object->getCredentialObject(), $authObject);
 }