MarkedSubmissionsTestData

uk.gov.hmrc.apiplatform.modules.organisations.submissions.utils.MarkedSubmissionsTestData

Attributes

Graph
Supertypes
trait FixedClock
trait ClockNow
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

object Instants

Attributes

Inherited from:
FixedClock
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
QuestionnaireTestData
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
QuestionnaireTestData
Supertypes
class Object
trait Matchable
class Any
object Texts

Attributes

Inherited from:
FixedClock
Supertypes
class Object
trait Matchable
class Any
object given_MakeOptional_ChooseOneOfQuestion extends MakeOptional[ChooseOneOfQuestion]

Attributes

Inherited from:
QuestionBuilder
Supertypes
trait MakeOptional[ChooseOneOfQuestion]
class Object
trait Matchable
class Any
object given_MakeOptional_MultiChoiceQuestion extends MakeOptional[MultiChoiceQuestion]

Attributes

Inherited from:
QuestionBuilder
Supertypes
trait MakeOptional[MultiChoiceQuestion]
class Object
trait Matchable
class Any
object given_MakeOptional_TextQuestion extends MakeOptional[TextQuestion]

Attributes

Inherited from:
QuestionBuilder
Supertypes
trait MakeOptional[TextQuestion]
class Object
trait Matchable
class Any
object given_MakeOptional_YesNoQuestion extends MakeOptional[YesNoQuestion]

Attributes

Inherited from:
QuestionBuilder
Supertypes
trait MakeOptional[YesNoQuestion]
class Object
trait Matchable
class Any

Value members

Concrete methods

def markAsPass(submission: Submission): MarkedSubmission

Inherited methods

def acknowledgementOnly(counter: Int): AcknowledgementOnly

Attributes

Inherited from:
QuestionBuilder
def addressQuestion(counter: Int): AddressQuestion

Attributes

Inherited from:
QuestionBuilder
def allFirstQuestions(questionnaires: NonEmptyList[Questionnaire]): Map[Id, Id]

Attributes

Inherited from:
SubmissionsTestData
def answerForQuestion(desiredMark: Mark)(question: Question): Map[Id, Option[ActualAnswer]]

Attributes

Inherited from:
AnsweringQuestionsHelper
def answersForGroups(desiredMark: Mark)(groups: NonEmptyList[GroupOfQuestionnaires]): Map[Id, ActualAnswer]

Attributes

Inherited from:
AnsweringQuestionsHelper
def answersForQuestionnaire(desiredMark: Mark)(questionnaire: Questionnaire): Map[Id, ActualAnswer]

Attributes

Inherited from:
AnsweringQuestionsHelper
def buildFullyAnsweredSubmission(submission: Submission = ...): Submission

Attributes

Inherited from:
SubmissionsTestData
def buildPartiallyAnsweredSubmission(submission: Submission = ...): Submission

Attributes

Inherited from:
SubmissionsTestData
def buildSubmissionWithQuestions(): Submission

Attributes

Inherited from:
SubmissionsTestData
def chooseOneOfQuestion(counter: Int, choices: String*): ChooseOneOfQuestion

Attributes

Inherited from:
QuestionBuilder
def dateQuestion(counter: Int): DateQuestion

Attributes

Inherited from:
QuestionBuilder
def firstQuestion(questionnaire: Questionnaire): Id

Attributes

Inherited from:
QuestionnaireTestData
def multichoiceQuestion(counter: Int, choices: String*): MultiChoiceQuestion

Attributes

Inherited from:
QuestionBuilder
def nameQuestion(counter: Int): NameQuestion

Attributes

Inherited from:
QuestionBuilder
def textQuestion(counter: Int): TextQuestion

Attributes

Inherited from:
QuestionBuilder
def yesNoQuestion(counter: Int): YesNoQuestion

Attributes

Inherited from:
QuestionBuilder

Concrete fields

val markedAnswers: Map[Id, Mark]
val markedSubmission: MarkedSubmission

Inherited fields

val aSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val address: RegisteredOfficeAddress

Attributes

Inherited from:
AnsweringQuestionsHelper
val allQuestionnaires: NonEmptyList[Questionnaire]

Attributes

Inherited from:
QuestionnaireTestData
val altSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val altSubmissionId: SubmissionId

Attributes

Inherited from:
SubmissionsTestData
val answeredSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val answeringSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val answersToQuestions: AnswersToQuestions

Attributes

Inherited from:
QuestionnaireTestData
val clock: Clock

Attributes

Inherited from:
FixedClock
val completedSubmissionId: SubmissionId

Attributes

Inherited from:
SubmissionsTestData
val completelyAnswerExtendedSubmission: ExtendedSubmission

Attributes

Inherited from:
SubmissionsTestData
val createdSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val declinedSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val expectedAppName: String

Attributes

Inherited from:
QuestionnaireTestData
val failSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val fullName: FullName

Attributes

Inherited from:
AnsweringQuestionsHelper
val gatekeeperUserName: String

Attributes

Inherited from:
SubmissionsTestData
val grantedSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData

Attributes

Inherited from:
SubmissionsTestData
override val instant: Instant

Attributes

Inherited from:
FixedClock
override val now: LocalDateTime

Attributes

Inherited from:
FixedClock
val nowAsText: String

Attributes

Inherited from:
FixedClock
val optionalQuestion: TextQuestion

Attributes

Inherited from:
QuestionnaireTestData

Attributes

Inherited from:
QuestionnaireTestData
val organisationId: OrganisationId

Attributes

Inherited from:
SubmissionsTestData
val partialQuestionnaireProgress: Map[Id, QuestionnaireProgress]

Attributes

Inherited from:
SubmissionsTestData
val partiallyAnsweredExtendedSubmission: ExtendedSubmission

Attributes

Inherited from:
SubmissionsTestData
val pendingRISubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
override val precise: Instant

Attributes

Inherited from:
FixedClock
val question: Question

Attributes

Inherited from:
QuestionnaireTestData
val question2Id: Id

Attributes

Inherited from:
QuestionnaireTestData
val question3Id: Id

Attributes

Inherited from:
QuestionnaireTestData
val questionAltId: Id

Attributes

Inherited from:
QuestionnaireTestData
val questionId: Id

Attributes

Inherited from:
QuestionnaireTestData
val questionnaire: Questionnaire

Attributes

Inherited from:
QuestionnaireTestData
val questionnaireAlt: Questionnaire

Attributes

Inherited from:
QuestionnaireTestData

Attributes

Inherited from:
QuestionnaireTestData
val questionnaireId: Id

Attributes

Inherited from:
QuestionnaireTestData
val reasons: String

Attributes

Inherited from:
SubmissionsTestData
val sampleAnswersToQuestions1: Map[Id, ActualAnswer]

Attributes

Inherited from:
QuestionnaireTestData
val sampleFailAnswersToQuestions: Map[Id, ActualAnswer]

Attributes

Inherited from:
QuestionnaireTestData
val samplePassAnswersToQuestions: Map[Id, ActualAnswer]

Attributes

Inherited from:
QuestionnaireTestData
val sampleWarningsAnswersToQuestions: Map[Id, ActualAnswer]

Attributes

Inherited from:
QuestionnaireTestData
val simpleContext: Map[String, String]

Attributes

Inherited from:
SubmissionsTestData
val soldContext: Map[String, String]

Attributes

Inherited from:
SubmissionsTestData
val standardContext: Context

Attributes

Inherited from:
SubmissionsTestData
val submissionId: SubmissionId

Attributes

Inherited from:
SubmissionsTestData
val submittedSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData
val testGroups: NonEmptyList[GroupOfQuestionnaires]

Attributes

Inherited from:
QuestionnaireTestData
val testQuestionIdsOfInterest: QuestionIdsOfInterest

Attributes

Inherited from:
QuestionnaireTestData
val userId: UserId

Attributes

Inherited from:
SubmissionsTestData
val vatContext: Map[String, String]

Attributes

Inherited from:
SubmissionsTestData
val warnings: String

Attributes

Inherited from:
SubmissionsTestData
val warningsSubmission: Submission

Attributes

Inherited from:
SubmissionsTestData

Extensions

Inherited extensions

extension (submission: Submission)
def answering: Submission

Attributes

Inherited from:
StatusTestDataHelper
def answeringWith(answers: AnswersToQuestions): Submission

Attributes

Inherited from:
StatusTestDataHelper
def hasCompletelyAnswered: Submission

Attributes

Inherited from:
StatusTestDataHelper
def hasCompletelyAnsweredWith(answers: AnswersToQuestions): Submission

Attributes

Inherited from:
StatusTestDataHelper
def submitted: Submission

Attributes

Inherited from:
StatusTestDataHelper
extension (submission: Submission)
def withCompletedProgress(): ExtendedSubmission

Attributes

Inherited from:
ProgressTestDataHelper
def withIncompleteProgress(): ExtendedSubmission

Attributes

Inherited from:
ProgressTestDataHelper
def withNotApplicableProgress(): ExtendedSubmission

Attributes

Inherited from:
ProgressTestDataHelper
def withNotStartedProgress(): ExtendedSubmission

Attributes

Inherited from:
ProgressTestDataHelper
def withSubmittedProgress(): ExtendedSubmission

Attributes

Inherited from:
ProgressTestDataHelper