I have difficulty understanding the following unit test in BeaconProxy.test.js. Two problems:
It creates DummyImplementation and DummyImplementation2 instances passing a reference to the proxy. That makes no sense because the implementation should not know about any proxies that call it. Also those implementations don’t have constructors, so hmm.
The at the bottom of the test, after upgrading the beacon, the implementations are checked for new version values. Instead it should be testing the BeaconProxy returns the changed values.
Can anyone explain this test?