Closed ruslan-kurchenko closed 3 years ago
@ruslan-kurchenko @kushney We need to consider the next. Sometimes we will delegate method execution to the base class, but sometimes not. When we don't, we need to access somehow actual value. There are a few ways to achieve that: 1) Add getter in the BasicAssert and then cast returned Object to proper type in classes that compose it. 2) In the constructor where we init BasicAssert and save it as a class variable, also save "actual" as a class variable.
@Nara7788 Thanks. It makes totally sense! I would consider the second option - save the actual value in the constructor.
Define the base project structure
Issue: #2