@Test
public void testBake_serializesPayload_recipeWithContext() {

  Dispatcher spy = setupDispatcherSpy("A");
  Ingredient ingredient = new Ingredient("EmptyIngredient", "A") {};
  oven.bake(Recipe.context("foo", ingredient));
  verify(spy)
      .dispatch(
          "{\"recipe\":{\"Recipe\":{\"ingredients\":[{\"EmptyIngredient\":{}}],\"context\":\"foo\"}},\"cake\":{}}");
}