TopicIdImpl() hasn't been resolved

Hi everyone, I got uncommon error during execution of the Repository Test.

An exception or error caused a run to abort: TopicIdImpl(fooTopic) hasn't been resolved 
java.lang.IllegalArgumentException: TopicIdImpl(fooTopic) hasn't been resolved
	at com.lightbend.lagom.scaladsl.testkit.TestTopicFactory.create(TestTopicComponents.scala:62)
	at com.lightbend.lagom.internal.scaladsl.client.ScaladslServiceClient$$anon$1$$anon$2.createTopic(ScaladslServiceClientInvoker.scala:72)

I am using Lagom v1.4.8 and the stack trace refers to this line:

fooService.fooTopic.subscribe.atLeastOnce(Flow[FooMessage].mapAsync(1) {

Any ideas ?

Hmm, it seems to me like your service-under-test is consuming fooService and your test is not injecting a complete mock of fooService. Refer to the Message Broker Testing - Testing Subscription docs for details.