Fixed properties injection in mocked class which cause tests fail
Signed-off-by: Alessandro Tundo <alessandrotundo94@gmail.com>