/**
* @param string $classname
* @param array $arguments
*
* @throws \PhpSpec\Exception\Wrapper\SubjectException
*/
public function beAnInstanceOf($classname, array $arguments = array())
{
if (!is_string($classname)) {
throw new SubjectException(sprintf('Behavior subject classname should be a string, %s given.', $this->presenter->presentValue($classname)));
}
$this->classname = $classname;
$unwrapper = new Unwrapper();
$this->arguments = $unwrapper->unwrapAll($arguments);
$this->isInstantiated = false;
}