pgb_liv\php_ms\Utility\Digest\DigestFactory::getDigest
Gets the digest object associated with the enzyme
Signature
public function getDigest(string
$digestName )
Parameters
$digestName
— string
Name of the enzyme
Returns
- DigestTrypsin
Test Coverage
Information
- Coverage: 8/8 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\DigestFactoryTest::testCanConstructByClassName
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\DigestFactoryTest::testCanConstructInvalid