pgb_liv\php_ms\Utility\Fragment\AbstractFragment::__construct
Creates a new instance of this fragmenter using the specified peptide
Signature
Parameters
$sequence
—
pgb_liv\php_ms\Core\ModifiableSequenceInterface
Peptide object which must contain a sequence
Errors/Exceptions
-
InvalidArgumentException
- If the peptide object does not contain a sequence
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 10
- Passed: 10 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanBeConstructedForValidConstructorArguments
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanBeConstructedForInvalidConstructorArguments
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsA
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsB
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsC
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsX
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsY
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsZ
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetModifiedIonsB
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetModifiedIonsY