Skip to content

Package: FootballStrategyFactory

FootballStrategyFactory

nameinstructionbranchcomplexitylinemethod
FootballStrategyFactory()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
create(AnswerFactory)
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: package de.fhdw.gaming.ipspiel23.freizeitgestaltung.strategy;
2:
3: import de.fhdw.gaming.ipspiel23.freizeitgestaltung.domain.FzgStrategy;
4: import de.fhdw.gaming.ipspiel23.freizeitgestaltung.domain.factory.FzgStrategyFactory;
5: import de.fhdw.gaming.ipspiel23.freizeitgestaltung.move.factory.AnswerFactory;
6:
7: /**
8: * Implements {@link FzgStrategyFactory}, creates FootballStrategy.
9: *
10: */
11: public class FootballStrategyFactory implements FzgStrategyFactory {
12:
13: @Override
14: public FzgStrategy create(final AnswerFactory answerFactory) {
15: return new FootballStrategy(answerFactory);
16: }
17: }