The Presentation layer allows us to abstract the presentation logic from the framework specific implementation of our user interface. In this lesson, we'll be creating the test for the Cached Projects DAO so that its implementation behaves as expected throughout our projects lifetime.
Hey Rodrigo - great question! Because we perform an assertValue() operation, this performs an equals check for the data that we get back through our observer and also the project instance that we are providing as a list. When we create this project instance from our factory it may not necessarily be marked as bookmarked - now because the project instance coming back from our database is going to be coming back as bookmarked (because we called setBookmarkStatus on it), our local instance of this (the one we created with our factory) is also going to need its bookmarked property to be set to true so that the check can succeed.