package Ġcom . very good security . vgs collect . card . filter . brand Ċ Ċ import Ġcom . very good security . vgs collect . view . card . Card Type Ċ import Ġcom . very good security . vgs collect . view . card . filter . Card Brand Filter Ċ import Ġcom . very good security . vgs collect . view . card . filter . VG SC ard Filter Ċ import Ġorg . junit . Assert Ċ import Ġorg . junit . Before Ċ import Ġorg . junit . Test Ċ Ċ class ĠA mex Test Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġfilter : ĠV G SC ard Filter ĊĊĠĠĠ Ġ@ Before ĊĠĠĠ Ġfun Ġsetup Filter () Ġ{ ĊĠĠĠĠĠĠĠ Ġfilter Ġ= ĠCard Brand Filter () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ 1 () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbrand Ġ= Ġfilter . detect (" 3 7 ") ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( brand . name , ĠCard Type . AM ERIC AN _ EXPRESS . name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ 2 () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbrand Ġ= Ġfilter . detect (" 3 4 ") ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( brand . name , ĠCard Type . AM ERIC AN _ EXPRESS . name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ 3 () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbrand Ġ= Ġfilter . detect (" 3 4 1 ") ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( brand . name , ĠCard Type . AM ERIC AN _ EXPRESS . name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ 4 () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbrand Ġ= Ġfilter . detect (" 3 7 9 ") ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( brand . name , ĠCard Type . AM ERIC AN _ EXPRESS . name ) ĊĠĠĠ Ġ} Ċ }