public function isValidReleaseChannelId($releaseChannelId)
{
$channel = $this->factory($releaseChannelId);
return !empty($channel);
}
/** * @dataProvider getTestValidReleaseChannelIds */ public function test_isValidReleaseChannelId_shouldDetectIfReleaseChannelIsCorrectOrNot($expectedExists, $id) { $this->assertSame($expectedExists, $this->channels->isValidReleaseChannelId($id)); }