package Ġcom . isa ac udy . nav rick Ċ Ċ import Ġorg . junit . Assert .* Ċ import Ġorg . junit . Test ĊĊ Ċ class ĠNav i K ation Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġverify Bindings Match _ bindings Match _ success (){ ĊĠĠĠĠĠĠĠ ĠassertTrue ( Nav rick Builder (). verify Bindings Match ( Test Type :: class , ĠTest View :: class )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġverify Bindings Match _ nested Bindings Match _ success (){ ĊĠĠĠĠĠĠĠ ĠassertTrue ( Nav rick Builder (). verify Bindings Match ( Test Type :: class , ĠTest Nested View :: class )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġverify Bindings Match _ generic Bindings Match _ success (){ ĊĠĠĠĠĠĠĠ ĠassertTrue ( Nav rick Builder (). verify Bindings Match ( Generic Base :: class , ĠTest Generic View :: class )) ĊĠĠĠĠĠĠĠ ĠassertTrue ( Nav rick Builder (). verify Bindings Match ( Generic One :: class , ĠTest Generic View :: class )) ĊĠĠĠĠĠĠĠ ĠassertTrue ( Nav rick Builder (). verify Bindings Match ( Generic Two :: class , ĠTest Generic View :: class )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġverify Bindings Match _ bindings DoNot Match _ fail (){ ĊĠĠĠĠĠĠĠ ĠassertFalse ( Nav rick Builder (). verify Bindings Match ( String :: class , ĠTest View :: class )) ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠTest Type Ċ class ĠTest View Ġ: ĠNav rick Fragment < Test Type > (){ ĊĠĠĠ Ġoverride Ġval Ġlayout Ġ= Ġ 0 ĊĠĠĠ Ġoverride Ġfun Ġon View Bound ( t : ĠTest Type ) Ġ{ Ġ} Ċ } Ċ Ċ open Ġclass ĠTest Nested Super Ġ: ĠNav rick Fragment < Test Type > (){ ĊĠĠĠ Ġoverride Ġval Ġlayout Ġ= Ġ 0 ĊĠĠĠ Ġoverride Ġfun Ġon View Bound ( t : ĠTest Type ) Ġ{ Ġ} Ċ } Ċ class ĠTest Nested View Ġ: ĠTest Nested Super () Ċ Ċ open Ġclass ĠGeneric Base Ċ open Ġclass ĠGeneric One : ĠGeneric Base () Ċ class ĠGeneric Two : ĠGeneric One () Ċ class ĠTest Generic View < in ĠT : ĠGeneric Base > Ġ: ĠNav rick Fragment < T > (){ ĊĠĠĠ Ġoverride Ġval Ġlayout Ġ= Ġ 0 ĊĠĠĠ Ġoverride Ġfun Ġon View Bound ( t : ĠT ) Ġ{} Ċ }