mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 19:51:30 +00:00
Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to address issues observed during initial testing. These files have been updated in order to generate a new set of app images.
This commit is contained in:
-31
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
namespace Hamcrest;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SampleInvokeMatcher extends BaseMatcherTest
|
||||
{
|
||||
private $matchAgainst;
|
||||
|
||||
public function __construct($matchAgainst)
|
||||
{
|
||||
$this->matchAgainst = $matchAgainst;
|
||||
}
|
||||
|
||||
public function matches($item)
|
||||
{
|
||||
return $item == $this->matchAgainst;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class InvokedMatcherTest extends TestCase
|
||||
{
|
||||
public function testInvokedMatchersCallMatches()
|
||||
{
|
||||
$sampleMatcher = new SampleInvokeMatcher('foo');
|
||||
|
||||
$this->assertTrue($sampleMatcher('foo'));
|
||||
$this->assertFalse($sampleMatcher('bar'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user