Replace spy with mock in tests

Spying ConnectionImpl fails with Java 8 with some dubious

Instead of spying the existing connection object, create a mock and
make sure that it returns another mocked RemoteObject for the
DropDown widget that is created internally.

Change-Id: I26fe1030451ce05ab3ab35525cbaebc6a9e2b3b8
1 file changed
tree: 8021b6bc47158c4e8ef5b356191312e9ecab1148
  1. bundles/
  2. examples/
  3. features/
  4. releng/
  5. tests/
  6. .gitignore
  7. component.xml