public abstract class CucumberResolveTest extends CucumberCodeInsightTestCase {
protected void checkReference(@NotNull final String step, @Nullable final String stepDefinitionName) {
final CucumberStepReference ref = (CucumberStepReference)findReferenceBySignature(step);
assert ref != null;
final ResolveResult[] result = ref.multiResolve(true);
boolean ok = stepDefinitionName == null;
for (ResolveResult rr : result) {
final PsiElement resolvedElement = rr.getElement();
if (resolvedElement != null) {
if (stepDefinitionName == null) {