| @@ 42-48 (lines=7) @@ | ||
| 39 | ); |
|
| 40 | } |
|
| 41 | ||
| 42 | public function testGetBody() |
|
| 43 | { |
|
| 44 | $message = new Message('foo', $this->metadata, function () { |
|
| 45 | }); |
|
| 46 | ||
| 47 | assertThat($message->getBody(), is(identicalTo('foo'))); |
|
| 48 | } |
|
| 49 | ||
| 50 | public function testGetMetadata() |
|
| 51 | { |
|
| @@ 50-56 (lines=7) @@ | ||
| 47 | assertThat($message->getBody(), is(identicalTo('foo'))); |
|
| 48 | } |
|
| 49 | ||
| 50 | public function testGetMetadata() |
|
| 51 | { |
|
| 52 | $message = new Message('foo', $this->metadata, function () { |
|
| 53 | }); |
|
| 54 | ||
| 55 | assertThat($message->getMetadata(), is(identicalTo($this->metadata))); |
|
| 56 | } |
|
| 57 | ||
| 58 | public function testIsValidIsFalse() |
|
| 59 | { |
|