the unit test is dead. long live the unit test! - colin vipurs
TRANSCRIPT
@Path("/feed/1234") public String getFeed() { return """ { "posts": [ { "id": "1414", "name": "Bob", "message": "Hi there, I'm bob", "when": "Just now" }]}"""}
@Path("/feed/1234") public Feed getFeed() { return Feed.containing(posts( new Post("1414", "Bob", "Hi there, I'm bob", "Just now")) ); }
public Feed getFeed() { return Feed.containing( posts(new Post("1414", "Bob", "Hi there, I'm bob", "Just now")) ); }