/**
  * @covers Box\TestScribe\Utils\StringUtil::isStringStartWith
  */
 public function testIsStringStartWithMatch()
 {
     // Execute the method under test.
     $executionResult = \Box\TestScribe\Utils\StringUtil::isStringStartWith('subject', 'su');
     // Validate the execution result.
     $expected = true;
     $this->assertSame($expected, $executionResult, 'Variable ( executionResult ) doesn\'t have the expected value.');
 }
 /**
  * @return bool
  */
 public function isTheTestRunAgainstTheToolItself()
 {
     $fullClassName = $this->inPhpClassName->getFullyQualifiedClassName();
     $isTheTestRunAgainstTheToolItself = StringUtil::isStringStartWith($fullClassName, '\\Box\\TestScribe');
     return $isTheTestRunAgainstTheToolItself;
 }
 /**
  * Return true if the fully qualified class name represents a mock class.
  *
  * @param string $className
  *
  * @return bool
  */
 public function isMockClass($className)
 {
     $isMock = StringUtil::isStringStartWith($className, ClassBuilder::MOCK_CLASS_NAME_PREFIX);
     return $isMock;
 }