Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created July 9, 2014 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaycfields/5e0f8399a21b4bd7ddb6 to your computer and use it in GitHub Desktop.
Save jaycfields/5e0f8399a21b4bd7ddb6 to your computer and use it in GitHub Desktop.
assertEquals(
"2,3",
a.order.w(
stub(Product.class, s -> s.getId(), Product.id(2)),
stub(Product.class, s -> s.getId(), Product.id(3)))
.getProductIds());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment