fyziktom / VirtualEconomyFramework

Framework for economy applications
https://veframework.com/
MIT License
24 stars 7 forks source link

add FakeUtxosGenerator for tests, refactor of tests #99

Closed fyziktom closed 2 years ago

fyziktom commented 2 years ago

I did some refactoring of the tests.

At first I have added the FakeUtxo generator. The example usage is here.

This decreased the use of the Moq in the tests. It remains in the here.

It was able to remove the Moq from lots of tests thanks to this small change in NeblioTransactionHelpers.