package com.codecheck123.dumb_bdd;

public class UserStory extends AbstractBDD {

	private final String story;
		
	public UserStory(String story){
		this.story = story;
	}
	
	public Given given(String givenInput, ExpressionRunner runner){
		return new Given(this,givenInput, runner);
	}

	String getStory() {
		return story;
	}
}
@@ -109,42 +109,258 @@
 y;%0A%09
-%09%0A%09public UserStory(String story)%7B
+%0A%09/**%0A%09 * Throws EmptyExpressionException if story is NULL or an empty string.%0A%09 * @param story%0A%09 */%0A%09public UserStory(String story)%7B%0A%09%09if(story == null %7C%7C story.isEmpty())%7B%0A%09%09%09throw new EmptyExpressionException(%22Story may not be NULL or Empty%22);%0A%09%09%7D
 %0A%09%09t

handle null or empty story