I have a method that returns a Try object:
Try
def doSomething(p: SomeParam): Try[Something] = { // code }
I now want to test th
Just check to see that it is the success type with your return value:
maybeRes shouldBe Success("moo")