package Ġcom . bad oo . ri bs . core Ċ Ċ import Ġcom . bad oo . ri bs . core . helper . Test View Ċ import Ġcom . bad oo . ri bs . core . plugin . View Aware Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . any Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . eq Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . mock Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . verify Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . ro bo lectric . Ro bo lectric TestRunner Ċ Ċ @ RunWith ( Ro bo lectric TestRunner :: class ) Ċ class ĠNode Plugin View Aware Test Ġ: ĠNode Plugin Test () Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` View Aware Ġplugins Ġreceive Ġon View Created ()` () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġ( node , Ġplugins ) Ġ= Ġtest Plugins < View Aware < Test View >>() ĊĊĠĠĠĠĠĠĠ Ġnode . onCreate View ( parent View ) ĊĊĠĠĠĠĠĠĠ Ġplugins . forEach Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġverify ( it ). on View Created ( any (), Ġeq ( node . lifecycle Manager . view Lifecycle !!. lifecycle )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ