|  |  |  | @ -17,34 +17,34 @@ public class SimpleGivenGivenWhenWhenThenThenTest extends Test { | 
			
		
	
		
			
				
					|  |  |  |  |     private int resultCB; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Given("Create the Sum object") | 
			
		
	
		
			
				
					|  |  |  |  |     void setup() { | 
			
		
	
		
			
				
					|  |  |  |  |     public void setup() { | 
			
		
	
		
			
				
					|  |  |  |  |         sum = new Sum(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Given("Setup the arguments") | 
			
		
	
		
			
				
					|  |  |  |  |     void setupArgs() { | 
			
		
	
		
			
				
					|  |  |  |  |     public void setupArgs() { | 
			
		
	
		
			
				
					|  |  |  |  |         a = 10; | 
			
		
	
		
			
				
					|  |  |  |  |         b = 20; | 
			
		
	
		
			
				
					|  |  |  |  |         c = 30; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @When("Call the .sum(10, 20)") | 
			
		
	
		
			
				
					|  |  |  |  |     void triggerAB() { | 
			
		
	
		
			
				
					|  |  |  |  |     public void triggerAB() { | 
			
		
	
		
			
				
					|  |  |  |  |         resultAB = sum.sum(a, b); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @When("Call the .sum(30, 20)") | 
			
		
	
		
			
				
					|  |  |  |  |     void triggerCB() { | 
			
		
	
		
			
				
					|  |  |  |  |     public void triggerCB() { | 
			
		
	
		
			
				
					|  |  |  |  |         resultCB = sum.sum(c, b); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Then("10 + 20 is 30") | 
			
		
	
		
			
				
					|  |  |  |  |     void checkAB() { | 
			
		
	
		
			
				
					|  |  |  |  |     public void checkAB() { | 
			
		
	
		
			
				
					|  |  |  |  |         assert 30 == resultAB; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Then("30 + 20 is 50") | 
			
		
	
		
			
				
					|  |  |  |  |     void checkCB() { | 
			
		
	
		
			
				
					|  |  |  |  |     public void checkCB() { | 
			
		
	
		
			
				
					|  |  |  |  |         assert 50 == resultCB; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |