git checkout -b <branchname>
git add
git commit -m "description of changes"
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Example: MRV-13: Introduce the widget to handle image creation | |
# (Optional) Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# (Optional) Provide links or keys to any relevant tickets, articles or other resources | |
# Example: closes MRV-22 |
private List<Footballer> getFootballers() {
return List.of(
new Footballer("Messi", 32, Gender.MALE, List.of("CF","CAM", "RF")),
new Footballer("Griezmann", 28, Gender.MALE, List.of("CF", "CAM", "LF")),
new Footballer("Arthur", 23, Gender.MALE, List.of("CM", "CAM")),
new Footballer("Ter Stegen", 27, Gender.MALE, List.of("GK")),
new Footballer("Puig", 20, Gender.MALE, List.of("CM", "CDM")),
new Footballer("Jennifer", 29, Gender.FEMALE, List.of("CF", "CAM")),
private List<Wizards> getWizards(){
return List.of(
new Wizards("Gryfindor","phoenix feather core","Half Blood","Male","Harry Potter"),
new Wizards("Gryfindor","unicorn hair core","Pure Blood","Male","Ronald Wisely"),
new Wizards("Gryfindor","dragon heart string core","Mud Blood","Female","Hermione Granger"),
new Wizards("Slytherin","unicorn hair core","Pure Blood","Male","Draco Malfoy"),
new Wizards("Ravenclaw","unicorn hair core","Pure Blood","Male","Cedric Diggory")
@SpringBootTest | |
public class ReactorTest { | |
private Student messi = Student.builder().age(21).fName("Lionel").lName("Messi").id(1).registered(true).lastPaidInYear("2021").build(); | |
private Student ronaldo = Student.builder().age(23).fName("Cristiano").lName("Ronaldo").registered(false).id(2).build(); | |
private Student buffon = Student.builder().age(31).fName("Gigi").lName("Buffon").id(3).registered(false).build(); | |
private Student zlatan = Student.builder().age(29).fName("Zlatan").lName("Ibrahimovic").id(4).registered(true).lastPaidInYear("2020").build(); | |
private Student mbappe = Student.builder().age(19).fName("Kylian").lName("Mbappe").id(5).registered(true).lastPaidInYear("2019").build(); | |
private Student pedri = Student.builder().age(16).fName("Pedri").lName("Gonzalez").id(6).registered(true).lastPaidInYear("2021").build(); |