/**
* if template exists in both profile and profiler then its name should be returned.
*/ publicfunctiontestGetNameValidTemplate() { $this->profiler->expects($this->any()) ->method('has') ->withAnyParameters() ->willReturnCallback($this->profilerHasCallback(...));