Skip to content

Commit 9cf4e96

Browse files
author
John
committed
add unit test
1 parent 4bd49c4 commit 9cf4e96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/M6Web/Component/Tests/Units/MessageEntity.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,10 @@ function () {
9595
})
9696
->isInstanceOf('\M6Web\Component\Statsd\Exception');
9797

98+
$this->exception(
99+
function() {
100+
new Statsd\MessageEntity('raoul.node', 1, 'c', 1, 'stringTag');
101+
}
102+
)->isInstanceOf('\M6Web\Component\Statsd\Exception');
98103
}
99104
}

0 commit comments

Comments
 (0)