This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.github.leosilvadev.verticle; | |
| import io.vertx.core.AbstractVerticle; | |
| import io.vertx.core.DeploymentOptions; | |
| import io.vertx.core.Vertx; | |
| import java.util.concurrent.atomic.AtomicLong; | |
| /** | |
| * Created by leonardo on 11/18/17. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.service; | |
| import static org.junit.Assert.*; | |
| import static org.mockito.Mockito.*; | |
| import java.util.Collections; | |
| import com.example.repository.CustomerRepository; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.springframework.beans.factory.annotation.Autowired; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| abstract class Command { | |
| abstract public function unExecute (); | |
| abstract public function Execute (); | |
| } | |
| class concreteCommand extends Command { | |
| private $operator,$operand,$calculator; | |
| public function __construct ($calculator,$operator,$operand) { | |
| $this->operator = $operator; | |
| $this->operand = $operand; |