1 /* 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"). 5 * You may not use this file except in compliance with the License. 6 * A copy of the License is located at 7 * 8 * http://aws.amazon.com/apache2.0 9 * 10 * or in the "license" file accompanying this file. This file is distributed 11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 12 * express or implied. See the License for the specific language governing 13 * permissions and limitations under the License. 14 */ 15 16 package software.amazon.awssdk.protocol.model; 17 18 public class TestCase { 19 20 private String description; 21 // Given is optional 22 private Given given = new Given(); 23 private When when; 24 private Then then; 25 getDescription()26 public String getDescription() { 27 return description; 28 } 29 setDescription(String description)30 public void setDescription(String description) { 31 this.description = description; 32 } 33 getGiven()34 public Given getGiven() { 35 return given; 36 } 37 setGiven(Given given)38 public void setGiven(Given given) { 39 this.given = given; 40 } 41 getWhen()42 public When getWhen() { 43 return when; 44 } 45 setWhen(When when)46 public void setWhen(When when) { 47 this.when = when; 48 } 49 getThen()50 public Then getThen() { 51 return then; 52 } 53 setThen(Then then)54 public void setThen(Then then) { 55 this.then = then; 56 } 57 58 @Override toString()59 public String toString() { 60 return description; 61 } 62 63 } 64