diff --git a/patterns/template-method/src/main/java/com/baeldung/templatemethodpattern/model/ComputerBuilder.java b/patterns/template-method/src/main/java/com/baeldung/templatemethodpattern/model/ComputerBuilder.java index f264d33215..9d8eae7f80 100644 --- a/patterns/template-method/src/main/java/com/baeldung/templatemethodpattern/model/ComputerBuilder.java +++ b/patterns/template-method/src/main/java/com/baeldung/templatemethodpattern/model/ComputerBuilder.java @@ -20,9 +20,9 @@ public abstract class ComputerBuilder { public abstract void addMotherboard(); public abstract void setupMotherboard(); - + public abstract void addProcessor(); - + public List getMotherboardSetupStatus() { return moterboardSetupStatus; } diff --git a/patterns/template-method/src/test/java/com/baeldung/templatemethodpatterntest/TemplateMethodPatternTest.java b/patterns/template-method/src/test/java/com/baeldung/templatemethodpatterntest/TemplateMethodPatternTest.java index df5751fb03..39888d5ad5 100644 --- a/patterns/template-method/src/test/java/com/baeldung/templatemethodpatterntest/TemplateMethodPatternTest.java +++ b/patterns/template-method/src/test/java/com/baeldung/templatemethodpatterntest/TemplateMethodPatternTest.java @@ -77,7 +77,7 @@ public class TemplateMethodPatternTest { } @Test - public void givenAllHighEnddParts_whenBuildingComputer_thenTwoParts() { + public void givenAllHighEndParts_whenBuildingComputer_thenTwoParts() { highEndComputerBuilder.buildComputer(); assertEquals(2, highEndComputerBuilder.getComputerParts().size()); }