package Ġcom . very good security . vg sc heck out . storage . file Ċ Ċ import Ġcom . very good security . vg sc heck out . collect . core . model . state . File State Ċ import Ġorg . junit . Assert . assertEquals Ċ import Ġorg . junit . Assert . assertNot Equals Ċ import Ġorg . junit . Test Ċ Ċ class ĠFile State Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ file _ state _ Equals _ true () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġs 1 Ġ= ĠFile State ( 3 0 0 L , Ġ" some File ", Ġ" mime / txt ", Ġ" file . name ") ĊĠĠĠĠĠĠĠ Ġval Ġs 2 Ġ= ĠFile State ( 3 0 2 L , Ġ" some File 1 ", Ġ" mime / txt 1 ", Ġ" file . name ") ĊĊĠĠĠĠĠĠĠ ĠassertEquals ( s 1 , Ġs 2 ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest _ file _ state _ Equals _ false () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġs 1 Ġ= ĠFile State ( 3 0 0 L , Ġ" some File ", Ġ" mime / txt ", Ġ" file . name ") ĊĠĠĠĠĠĠĠ Ġval Ġs 2 Ġ= ĠFile State ( 3 0 2 L , Ġ" some File 1 ", Ġ" mime / txt 1 ", Ġ" file . name 1 ") ĊĊĠĠĠĠĠĠĠ Ġassert Not Equals ( s 1 , Ġs 2 ) ĊĠĠĠ Ġ} Ċ }