Class RecipeTest

java.lang.Object
org.gedcomx.test.RecipeTest

public class RecipeTest extends Object
Base class for a test class that can be used for creating recipes.
Author:
Mike Gardiner, Ryan Heaton
  • Constructor Details

    • RecipeTest

      public RecipeTest()
  • Method Details

    • createRecipe

      protected Recipe createRecipe(String title)
      Create a new recipe
      Parameters:
      title - - Title of the recipe
      Returns:
      the recipe
    • addSnippet

      protected void addSnippet(Snippet snippet)
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • endRecipe

      protected void endRecipe()
      Marks the recipe as ended