package Ġcom . nim bus framework . nim bus aws . clients . document Ċ Ċ import Ġcom . nim bus framework . nim bus aws . examples . Document Store No TableName Ċ import Ġcom . nim bus framework . nim bus aws . examples . Document Store With TableName Ċ import Ġcom . nim bus framework . nim bus core . exceptions . Invalid Stage Exception Ċ import Ġio . kot lint est . specs . Annotation Spec Ċ import Ġio . kot lint est . shouldBe Ċ Ċ class ĠD ynamo Db Document Store Annotation Service Test Ġ: ĠAnnotation Spec () Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcorrectly Gets Name When None Set () Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠtableName Ġ= ĠD ynamo Db Document Store Annotation Service . get TableName ( Document Store No TableName :: class . java , Ġ" dev ") ĊĠĠĠĠĠĠĠ ĠtableName ĠshouldBe Ġ" Document Store No TableName dev " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcorrectly Gets Name When Set () Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠtableName Ġ= ĠD ynamo Db Document Store Annotation Service . get TableName ( Document Store With TableName :: class . java , Ġ" dev ") ĊĠĠĠĠĠĠĠ ĠtableName ĠshouldBe Ġ" test dev " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ( expected Ġ= ĠInvalid Stage Exception :: class ) ĊĠĠĠ Ġfun Ġthrows Exception When Wrong Stage () Ġ{ ĊĠĠĠĠĠĠĠ ĠD ynamo Db Document Store Annotation Service . get TableName ( Document Store No TableName :: class . java , Ġ" prod ") ĊĠĠĠ Ġ} Ċ Ċ }