1. kubek2k
  2. Springockito
Issue #49 new

Mock @Value properties

Kody Records
created an issue

It would be nice if one could mock out values of the classes that are tested.

@Component
public class ServiceToTest {
   @Value("${value.to.mock}")
   private String value;
}

Comments (0)

  1. Log in to comment