-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TSFF-1006: Nye UttakArbeidTyper for at aktivitet skal kunne kompenser…
…es full ut når den faller bort
- Loading branch information
Showing
4 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...va/no/nav/folketrygdloven/kalkulator/ytelse/utbgradytelse/AktivitetStatusMatcherTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package no.nav.folketrygdloven.kalkulator.ytelse.utbgradytelse; | ||
|
||
import no.nav.folketrygdloven.kalkulus.kodeverk.AktivitetStatus; | ||
|
||
import no.nav.folketrygdloven.kalkulus.kodeverk.UttakArbeidType; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class AktivitetStatusMatcherTest { | ||
|
||
@Test | ||
public void skal_mappe_SN_IKKE_AKTIV_til_SN() { | ||
boolean matcher = AktivitetStatusMatcher.matcherStatus(AktivitetStatus.SELVSTENDIG_NÆRINGSDRIVENDE, UttakArbeidType.SN_IKKE_AKTIV); | ||
assertTrue(matcher, "SN_IKKE_AKTIV skulle matche sevlstendig næringsdrivende"); | ||
} | ||
|
||
@Test | ||
public void skal_mappe_FL_IKKE_AKTIV_til_FL() { | ||
boolean matcher = AktivitetStatusMatcher.matcherStatus(AktivitetStatus.FRILANSER, UttakArbeidType.FL_IKKE_AKTIV); | ||
assertTrue(matcher, "FL_IKKE_AKTIV skulle matche sevlstendig næringsdrivende"); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters