Skip to content

Package: AnswerFactoryImpl

AnswerFactoryImpl

nameinstructionbranchcomplexitylinemethod
AnswerFactoryImpl()
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%
createCinemaAnswer()
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
createFootballAnswer()
M: 0 C: 4
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.move.impl;
2:
3: import de.fhdw.gaming.ipspiel23.freizeitgestaltung.move.Answer;
4: import de.fhdw.gaming.ipspiel23.freizeitgestaltung.move.factory.AnswerFactory;
5:
6: /**
7: * Implementation of {@link AnswerFactory}.
8: *
9: */
10: public final class AnswerFactoryImpl implements AnswerFactory {
11:
12: @Override
13: public Answer createCinemaAnswer() {
14: return new CinemaAnswer();
15: }
16:
17: @Override
18: public Answer createFootballAnswer() {
19: return new FootballAnswer();
20: }
21: }