 	}
 
 	func test_scenarioWithOneWhenStep() {
-		given_scenario(
-			scenario("name", [
-				when("something")]
-			)
-		)
-		
-		then_scenarioShouldBe(
+		when_parsing(
+			"""
+			Feature: f
+			Scenario: name
+				When something
+			""")
+		
+		then_generatedScenarioShouldBe(
 			"""
 			func testNameTests() {
 			do {

	}
	
	func test_ignoredScenario() {
		given_scenarioWithName("Name", hasIgnoreTag: true)
		
		then_scenarioShouldBe(
			"""
			func IGNORE_testNameTests() {
			scenarioContext.tags = [\"\(ignoreTag)\"]

	}

	func test_scenarioWithTwoTags() {
		when_parsing(
			"""
			Feature: f
			@one @two
			Scenario: Name
			""")
		
		then_generatedScenarioShouldBe(
			"""
			func testNameTests() {
			scenarioContext.tags = [\"one\", \"two\"]
