-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
91 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package test; | ||
|
||
import org.junit.Before; | ||
import org.junit.Test; | ||
import org.mockito.InjectMocks; | ||
import org.mockito.Mock; | ||
import org.mockito.MockitoAnnotations; | ||
|
||
import com.amazon.ask.dispatcher.request.handler.HandlerInput; | ||
import com.amazonaws.services.dynamodbv2.document.Item; | ||
|
||
import verkocht.VerkochtStreamHandler; | ||
import verkocht.handlers.TellRecipeStepsIntentHandler; | ||
import verkocht.model.CookingBook; | ||
import verkocht.model.Recipe; | ||
|
||
public class TellRecipeStepsIntentHandlerTest { | ||
|
||
|
||
@Mock | ||
HandlerInput input; | ||
|
||
|
||
@InjectMocks | ||
private TellRecipeStepsIntentHandler tellRecipeStepsHandler = new TellRecipeStepsIntentHandler(); | ||
|
||
@Before | ||
public void setUp() throws Exception { | ||
MockitoAnnotations.initMocks(this); | ||
} | ||
// @Test | ||
// public void testHandle() { | ||
// //VerkochtStreamHandler verkochtStreamHandler = new VerkochtStreamHandler(); | ||
// CookingBook coockingBook = new CookingBook(); | ||
// Recipe selectedRecipe = coockingBook.getAllRecipes().get(0); //schnitzel | ||
// tellRecipeStepsHandler.handle(input); | ||
// } | ||
|
||
} |