score:2

If I understand you correctly, you're looking for ???.

You can define your method like:

def getX(a: String): Future[returnType] = ???

Then you could reference it in your tests or other code and everything would compile, but calling it will fail at runtime with NotImplementedError thrown. It will also fail in tests unless you override it in mock.


Related Query

More Query from same tag