Skip to content

Commit 3c86456

Browse files
Shortened lines
1 parent 41cc677 commit 3c86456

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

service/src/test/java/uk/nhs/adaptors/gp2gp/ehr/utils/AllergyStructureExtractorTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ void When_ExtractingNoOnsetDate_Expect_EmptyOutput() {
122122
@Test
123123
void When_ExtractingFullReaction_Expect_Output() {
124124
AtomicInteger atomicInteger = new AtomicInteger(1);
125-
AllergyIntolerance.AllergyIntoleranceReactionComponent reactionComponent = new AllergyIntolerance.AllergyIntoleranceReactionComponent();
125+
AllergyIntolerance.AllergyIntoleranceReactionComponent reactionComponent =
126+
new AllergyIntolerance.AllergyIntoleranceReactionComponent();
126127
reactionComponent.setDescription("description");
127128

128129
CodeableConcept exposureRoute = new CodeableConcept();
@@ -141,7 +142,8 @@ void When_ExtractingFullReaction_Expect_Output() {
141142
@Test
142143
void When_ExtractingEmptyReaction_Expect_Output() {
143144
AtomicInteger atomicInteger = new AtomicInteger(1);
144-
AllergyIntolerance.AllergyIntoleranceReactionComponent reactionComponent = new AllergyIntolerance.AllergyIntoleranceReactionComponent();
145+
AllergyIntolerance.AllergyIntoleranceReactionComponent reactionComponent =
146+
new AllergyIntolerance.AllergyIntoleranceReactionComponent();
145147
assertEquals(REACTION_START, AllergyStructureExtractor.extractReaction(reactionComponent, atomicInteger));
146148
}
147149
}

0 commit comments

Comments
 (0)