Added second MVC example. This time the view is registered as observer to the model and gets update notifications that way.
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
package com.iluwatar.model.view.controller.with.observer;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.iluwatar.model.view.controller.with.observer.App;
|
||||
|
||||
/**
|
||||
*
|
||||
* Application test
|
||||
*
|
||||
*/
|
||||
public class AppTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
String[] args = {};
|
||||
App.main(args);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user