package Ġcom . we ed ow . spring . data . search . expression . parser Ċ Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . mock Ċ import Ġcom . we ed ow . spring . data . search . common . model . Person Ċ import Ġcom . we ed ow . spring . data . search . expression . Expression Resolver Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ internal Ġclass ĠExpression Parser Visitor Factory Impl Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġget Expression Parser Visitor () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġroot Class Ġ= ĠPerson :: class . java ĊĠĠĠĠĠĠĠ Ġval Ġexpression Resolver Ġ= Ġmock < Expression Resolver >() ĊĊĠĠĠĠĠĠĠ Ġval Ġexpression Parser Visitor Ġ= ĠExpression Parser Visitor Factory Impl ( expression Resolver ). get Expression Parser Visitor ( root Class ) ĊĠĠĠĠĠĠĠ ĠassertThat ( expression Parser Visitor ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isInstanceOf ( Expression Parser Visitor Impl :: class . java ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. extract ing (" expression Resolver ", Ġ" root Class ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. contains Exactly ( expression Resolver , Ġroot Class ) ĊĠĠĠ Ġ} Ċ }