create(); $res = Groupwf::verifyGroupExists($groupWf['GRP_UID']); $this->assertTrue($res); $res = Groupwf::verifyGroupExists('12345'); $this->assertFalse($res); } /** * It tests the getGroupId() method * * @test */ public function it_should_test_the_get_group_id_method() { $groupWf = factory(Groupwf::class)->create(); $res = Groupwf::getGroupId($groupWf['GRP_UID']); $this->assertNotEmpty($res); $this->assertEquals($res['GRP_ID'], $groupWf['GRP_ID']); } }