Initial Commit (#3045)

This commit is contained in:
Alejandro Gervasio 2017-11-15 13:43:57 -03:00 committed by adamd1985
parent 9685875496
commit 8957b9414c
2 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ public abstract class ComputerBuilder {
public abstract void addMotherboard(); public abstract void addMotherboard();
public abstract void setupMotherboard(); public abstract void setupMotherboard();
public abstract void addProcessor(); public abstract void addProcessor();
public List<String> getMotherboardSetupStatus() { public List<String> getMotherboardSetupStatus() {
return moterboardSetupStatus; return moterboardSetupStatus;
} }

View File

@ -77,7 +77,7 @@ public class TemplateMethodPatternTest {
} }
@Test @Test
public void givenAllHighEnddParts_whenBuildingComputer_thenTwoParts() { public void givenAllHighEndParts_whenBuildingComputer_thenTwoParts() {
highEndComputerBuilder.buildComputer(); highEndComputerBuilder.buildComputer();
assertEquals(2, highEndComputerBuilder.getComputerParts().size()); assertEquals(2, highEndComputerBuilder.getComputerParts().size());
} }